package com.xyht.sca_s.student_manage_system.modules.dormitory.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 宿舍楼栋管理表
 * </p>
 *
 * @author XYHT
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_dormitory_building")
@ApiModel(value="SmsDormitoryBuilding对象", description="宿舍楼栋管理表")
public class SmsDormitoryBuilding implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "楼栋名称")
    private Integer buildingName;

    @ApiModelProperty(value = "楼栋描述")
    private String buildingDescription;

    @ApiModelProperty(value = "创建人")
    private String userId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField (fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "是否删除[0:未删除 1:删除]")
    @TableLogic
    private Integer isDeleted;


}
